<?php


	namespace app\home\model;


	class Cate extends Base {

		protected function getImageAttr($value){
			return toImages($value);
		}



		public function goods(){
			return $this->hasMany('Goods','category_id','id');
		}




	}